/* 容器样式 */
.indexContainer {
  width: 100%;
  height: 300rpx;
  font-size: 32rpx;

  /* 轮播图 */
  .banner image {
    width: 100%;
    height: 100%;
  }

  /* 导航菜单 */
  .navContainer {
    display: flex;

    /* 每一项 */
    .navItem {
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 20%;

      /* 图标的样式 */
      .iconfont {
        width: 100rpx;
        height: 100rpx;
        border-radius: 50%;
        background-color: rgb(240, 19, 19);
        line-height: 100rpx;
        text-align: center;
        font-size: 50rpx;
        color: #fff;
        margin: 20rpx 0;
      }
    }
  }

  /* 推荐歌曲*/
  .recommendContainer {
    padding: 20rpx;

    .recommendScroll {
      display: flex;
      height: 300rpx;

      .scrollItem {
        width: 200rpx;
        margin-right: 20rpx;

        image {
          width: 200rpx;
          height: 200rpx;
          border-radius: 10rpx;
        }

        text {
          font-size: 26rpx;
          overflow: hidden;
          text-overflow: ellipsis;
          display: -webkit-box;
          -webkit-box-orient: vertical;
          -webkit-line-clamp: 2;
        }
      }
    }
  }

  /* 排行榜列表 */
  .topListContainer {
    padding: 20rpx;

    .topListSwiper {
      height: 400rpx;

      .swiperItem {
        background-color: #fbfbfb;

        .title {
          font-size: 30rpx;
          line-height: 80rpx;
        }

        .musicItem {
          display: flex;
          margin-bottom: 20rpx;

          image {
            width: 100rpx;
            height: 100rpx;
            border-radius: 10rpx;
          }

          .count {
            width: 100rpx;
            height: 100rpx;
            line-height: 100rpx;
            text-align: center;
          }

          .musicName {
            height: 100rpx;
            line-height: 100rpx;
            max-width: 400rpx;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
          }
        }
      }
    }
  }
}